<?php
class Variable {
	
	//session
	const SESSION_USER_ID = 'SESSION_USER_ID';
	const SESSION_USER_NAME = 'SESSION_USER_NAME';
	const SESSION_LIB_TYPE = 'SESSION_LIB_TYPE';
	const SESSION_LIB_TAG_ID = 'SESSION_LIB_TAG_ID';
	
	//login
	const ERROR_INPUT = 'input';
	const ERROR_USER = 'user';
	const ERROR_NOT_EXIST = 'not_exist';
	const ERROR_LOGIN = 'login';
	
	//mail
	const MAIL_REGISTER = 'register';
	const MAIL_LOGIN = 'login';
	const MAIL_REGISTER_SEND = 'register_send';
	const MAIL_FORGOT = 'forgot';
	
	//mail success
	const MAIL_SUCCESS_VALIDATE = 'validate';
	const MAIL_SUCCESS_RESET = 'reset';
	const MAIL_FALSE_EXPIRED = 'expired';
	
	//lib
	const LIST_TODAY = 'today';
	const LIST_YESTERDAY = 'yesterday';
	const LIST_WEEK = 'week';
	const LIST_MONTH = 'month';
	const LIST_TAG = 'tag';
	
	//lib name
	const LIST_TODAY_NAME = '今天';
	const LIST_YESTERDAY_NAME = '昨天';
	const LIST_WEEK_NAME = '本周';
	const LIST_MONTH_NAME = '本月';
	
	//page size
	const LIST_SIZE = 5;
	
	//score
	const SCORE_REMEMBER = 5;
	const SCORE_FORGOT = 2;
	
	//setting
	const SETTING_VERSION = 'version';
	const SETTING_MAIL = 'mail';
	const SETTING_PASSWORD = 'password';
}
?>